package com.ming.vo;

import com.ming.domain.SysMenu;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author:何元才
 * @Desc: 用来包装 菜单和权限的对象
 * @data:2021-03-31 16:36
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "菜单和权限的包装对象")
public class MenuAuthsVo {

    @ApiModelProperty(value = "菜单")
    private List<SysMenu> menuList;

    @ApiModelProperty(value = "权限")
    private List<String> authorities;
}
